package edu.sctu.jarime.may.day20150504;

/**
 * Created by user19 on 2015/5/4.
 */
public class dogone extends Dogs{
    public IsInterface isinterface;

    public dogone(IsInterface isinterface){
        this.isinterface=isinterface;

    }



    @Override
    public void color() {
        color="red";

    }

    @Override
    public void size() {
        size="small";

    }

    @Override
    public void action() {
        action="running";

    }
    public void output(){
        isinterface.getinformation(color,size,action);
    }
}
